﻿using QuanLyThuVien.DataAccess;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyThuVien.View
{
    public partial class FormCTSach : Form
    {
        SachAccess sachAccess = new SachAccess();
        private string masach;
        public FormCTSach(string masach)
        {
            this.masach = masach;
            InitializeComponent();
        }
       
        private void FormCTSach_Load(object sender, EventArgs e)
        {
            dtCTSach.DataSource = sachAccess.timkiemMasach(masach);
        }

        private void dtCTSach_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }
    }
}
